<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
{{assign var="title" value='分类'}}
{{assign var="app" value='category'}}
{{assign var="act" value=''}}
<title>{{$title}} - {{'admin|admin_site_name'|C|default:'后台管理'}}</title>
{{include file="include/base.html"}}
{{include file="{{$smarty.const.PLUG}}drag/drag.html"}}
</head>
<body>

	{{include file="include/sidebar.html"}}
	
	<div class="body_right">
	<div id="content">
	
	<div class="search">
	  <ul class="bread">
		<li>◆ {{$title}}管理 －> {{$title}}</li>
	  </ul>
	</div>
			
		<!--内容 S-->
		<form action="index.php?app={{$app}}/save" name="form1" class="form" id="form" method="post">
		<input type="hidden" name="id" value="{{$result.id}}"/>
		<table class="table table-bordered modify">
		  <tbody>
			<tr>
			  <td>添加者：</td>
			  <td>
				{{'username'|user}}
			  </td>
			</tr>
			<tr>
			  <td>标题：</td>
			  <td>
				<input class="input-xlarge" type="text" name="title" maxlength="50" value="{{$result.title}}"> <span class="red">*</span>
				<span class="notice">英文或中文</span>
			  </td>
			</tr>
			<tr>
			  <td>图片：</td>
			  <td>
				<!--{{*cat_id和item两参数同时存在时item优先级高*}}--> <!-- {{*img src=$result.image name='image' cat_id=$result.id*}} -->
				<!--{{*可添加额外相册条件*}}--> <!-- {{*img src=$result.image name='image' cat_id=$result.id  photo_limit="table={{$table}}&idid={{$result.id}}"*}} -->
				{{form type='img' src=$result.image name='image' item='system'}}
			  </td>
			</tr>
			<tr>
			  <td>附件：</td>
			  <td>
				{{form type="file" data=$result.params.vest name='params[fujian]' item='invest' ext='doc,docx,xls,xlsx,pdf,swf,flv,exe' maxsize="100m"}}
			  </td>
			</tr>
			<tr>
			  <td>动态(图片)：</td>
			  <td>
				<!--{{*cat_id和item两参数同时存在时item优先级高*}}-->
				{{form type='img' name='array_images' data=$result.value item='system'}}
			  </td>
			</tr>
			<tr>
			  <td>动态(文本)：</td>
			  <td>
				<!--{{form type='input_array' name='array_input' data=$result.value is_params=true}}--><!--是否在控件名上加上params[]-->
				{{form type='input_array' name='array_input' data=$result.value}}
				<span class="red">*</span>
			  </td>
			</tr>
			<tr>
			  <td>内容：</td>
			  <td>
				<textarea id='editor1' class="editor" style="width:600px;height:230px;" name='content'>{{$result.content|encodeHtml}}</textarea>
				{{form type='img' kind="ueditor" class='editor1' item='system'}}
				<span class="red">*</span>
			  </td>
			</tr>
			<tr>
			  <td>是否发布：</td>
			  <td>
				{{html_radios name=publish options=$publish checked=$result.publish|default:1}}
				{{*html_radios name=publish options=array('否','是') checked=$result.publish|default:0*}}
			  </td>
			</tr>
		  </tbody>
		 </table>
		 <div class="bottom_button">
			<button type="submit" class="btn btn-info"><i class="icon-ok icon-white"></i>确认</button>
		 </div>
		</form>
		<!--内容 E-->
</div>
</div>
{{include file="{{$smarty.const.PLUG}}ueditor/ueditor.html"}}
</body>
</html>